package com.zdx.yswl.ui.bean;

import java.util.List;

import org.json.JSONException;
import org.json.JSONObject;

public class PictruesBean extends BaseBean {
	private static final long serialVersionUID = 7606517425371944761L;

	public List<HeadImgBean> realPicList;
	public List<HeadImgBean> effectPicList;
	public List<HeadImgBean> samplePicList;
	public List<HeadImgBean> aroundPicList;
	
	public static PictruesBean getBean4JSON(JSONObject json) throws JSONException{
		PictruesBean bean = new PictruesBean();
		bean.realPicList = HeadImgBean.getListBean4JSON(json.getJSONArray("real"));
		bean.effectPicList = HeadImgBean.getListBean4JSON(json.getJSONArray("effect"));
		bean.samplePicList = HeadImgBean.getListBean4JSON(json.getJSONArray("sample"));
		bean.aroundPicList = HeadImgBean.getListBean4JSON(json.getJSONArray("around"));
		
		return bean;
	}
}
